import {combineReducers,ReducersMapObject,Reducer} from 'redux';
import { connectRouter } from 'connected-react-router'
import history from '../history';

import home from './home';
import mine from './mine';
import profile from './profile';
import cart from './cart';

const rootReducer = combineReducers({
    router:connectRouter(history),
    home,
    mine,
    profile,
    cart
});

export default rootReducer;
